﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Pages/Inicio.master" AutoEventWireup="false" CodeFile="AtencionCasos.aspx.vb" Inherits="Pages_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:UpdatePanel ID="uppCasos" runat="server">
        <ContentTemplate>
            <br />
            <div class="subtittle" >Listado de Casos Asignados</div>
            <br />
            <center>
                <table style="width:90%">
                    <tr><td class ="textright">
                        <asp:Label ID="lblArea" runat="server" Text="Área:"></asp:Label>
                        </td><td class="textleft">
                            <asp:DropDownList ID="ddlbArea" runat="server" AutoPostBack="True" CssClass="textleft" Width="200px">
                        </asp:DropDownList>
                        &nbsp;<asp:ImageButton ID="ibtnActualizar" runat="server" ImageUrl="~/Images/texto/boton_actualizar.png" />
                        &nbsp;<asp:ImageButton ID="ibtnExportar" runat="server" ImageUrl="~/Images/texto/btnExportar.png" />
                        </td><td class="textright"><asp:Label ID="lblTotal" runat="server" Text="Total: 0 Registros."></asp:Label></td></tr>
                </table>
                <br />
                <table style="width:90%">
                    <tr><td><asp:GridView ID="gridCasosAsignados" runat="server" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="100%" AutoGenerateColumns="False" AllowPaging="True" PageSize="20">
                        <Columns>
                            <asp:BoundField DataField="Orden" HeaderText="Orden" SortExpression="Orden" >
                            <ItemStyle Width="50px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Modalidad" HeaderText="Modalidad" SortExpression="Modalidad" >
                            <ItemStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="FechaOrden" HeaderText="Fec. Orden" SortExpression="FechaOrden" >
                            <ItemStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="FecAsignacion" HeaderText="Fec. Asignación" SortExpression="FecAsignacion" >
                            <ItemStyle Width="80px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Prioridad" HeaderText="Prioridad" SortExpression="Prioridad" >
                            <ItemStyle Width="90px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Cliente" HeaderText="Cliente" SortExpression="Cliente" />
                            <asp:BoundField DataField="Garantia" HeaderText="Garantía" SortExpression="Garantia">
                            <ItemStyle Width="80px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Equipo" HeaderText="Equipo" SortExpression="Equipo" />
                            <asp:BoundField DataField="Serie" HeaderText="Serie" SortExpression="Serie">
                            <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Estado" HeaderText="Estado" SortExpression="Estado" />
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:ImageButton ID="ibtnRegistrar" runat="server" ImageUrl="~/Images/img/verDetalle.png" />
                                    &nbsp;<asp:ImageButton ID="ibtnNota" runat="server" ImageUrl="~/Images/img/verNota.png" />
                                </ItemTemplate>
                                <ItemStyle Width="50px" />
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <RowStyle ForeColor="#000066" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                        </asp:GridView></td></tr>
                </table>
            </center>
        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>

